// bootstrap v3.3.7
//@import 'bootstrap/bootstrap';
// iconfont.cn
//@import 'iconfont/iconfont.css';
// 引入变量
@import 'common/variables';
// 引入基础
@import 'common/base';
// 引入通用头部底部
//@import 'common/common';

.index {
    .subject {
        color: #333;
        text-align: center;
        h3 {
            margin: 0;
            font-size: 48px;
            font-weihgt: bold;
            line-height: 1;
        }
        .line {
            position: relative;
            margin: 15px auto;
            @include w-h(310px, 1px);
            border-top: 1px solid #d9d9d9;
            .bar {
                position: relative;
                margin: -2px 80px 0 80px;
                width: auto;
                border-top: 3px solid #f9ae0c;
            }
        }
        h5 {
            font-size: 30px;
            font-weight: lighter;
        }
    }
}

/* 业务中心 */
.business {
    padding: 70px 0;
    background-color: #f3f3f3;
    .content {
        margin-top: 60px;
        .row {
            position: relative;
            margin: 0;
            [class^="col"] {
                padding: 0;
            }
        }
        .pic {
             img {
                 width: 100%;
             }
         }
        .itme {
            background-color: #fff;
            .display {
                margin: 60px 60px 0 60px;
                .number {
                    color: #d8d8d8;
                    font-size: 60px;
                    font-weight: lighter;
                }
                h4 {
                    font-size: 24px;
                    font-weight: bold;
                }
                p {
                    margin: 20px 0 80px 0;
                    color: #888;
                }
                &.display-top {
                    margin-top: 0;
                }
            }
        }
    }
}

/* 蓝图绘测成功案例 */
.success-case {
    background: url("../images/index-about-bg.jpg") no-repeat center center;
    margin: 70px 0;
    .tab {
        margin-top: 70px;
        height: 50px;
        font-size: 16px;
        line-height: 50px;
        text-align: center;
        background-color: #f4f4f4;
        .row {
            margin: 0;
        }
        .item {
            padding: 0;
            span {
                display: block;
                float: right;
                margin-top: 20px;
                height: 10px;
                border-right: 1px solid #d9d9d9;
            }
            &.active {
                color: #fff;
                background-color: $color-main;
                a {
                    color: #fff;
                }
                span {
                    display: none;
                }
            }
        }

    }
    .tab-content {
        position: relative;
        overflow: hidden;
        margin-top: 20px;
        //@include w-h(100%, 520px);
        border: 1px solid #ddd;
        .tab-pane {
            padding: 0;
            .content {
                margin: 0;
                .simple {
                    .pic {
                        margin: 15px 0;
                        a {
                            position: relative;
                            overflow: hidden;
                            display: block;
                            //border-radius: $border-radius-large;
                            transition: opacity .15s;
                            img {
                                width: 100%;
                            }
                            &:hover {
                                opacity: .85;
                            }
                        }
                    }
                    .display-content {
                        margin: 15px 0;
                        p {
                            margin-top: 5px;
                            color: #777;
                        }
                        .btn-case {
                            margin-top: 8px;
                            padding-left: 30px;
                            padding-right: 30px;
                            background-color: #f9ae0c;
                            border: none;
                            border-radius: 20px;
                            &:hover {
                                opacity: .8;
                            }
                        }
                    }
                }
                .case-list {
                    padding: 0 15px 15px 15px;
                    border-left: 1px solid #ddd;
                    .item {
                        margin-top: 15px;
                        a.pic {
                            position: relative;
                            overflow: hidden;
                            display: block;
                            //border-radius: $border-radius-large;
                            img {
                                display: block;
                                width: 100%;
                            }
                            span {
                                position: absolute;
                                top: 0;
                                left: 0;
                                display: block;
                                width: 100%;
                                min-height: 240px;
                                color: #fff;
                                font-size: 40px;
                                line-height: 240px;
                                text-align: center;
                                background-color: rgba(23, 109, 190, .5);
                                opacity: 0;
                                transition: border-radius .15s, opacity .15s;
                                .iconfont {
                                    display: block;
                                    line-height: 240px;
                                    transform: rotateY(0deg);
                                    transition: transform .3s;
                                }
                            }
                            &:hover {
                                span {
                                    opacity: 1;
                                    .iconfont {
                                        transform: rotateY(-360deg);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* 走进我们 */
.about-us {
    padding: 100px 0 ;
    .subject {
        color: #fff;
        h3 {
            font-size: 72px;
            font-weight: bold;
        }
        h4 {
            margin-top: 10px;
            font-size: 36px;
        }
    }
    .row {
        margin: 60px 0 0;
        [class^="col"] {
            padding: 0;
        }
        .nav {
            li {
                font-size: 25px;
                font-weight: bold;
                a {
                    display: block;
                    padding: 20px 0 20px 20px;
                    color: #fff;
                    background-color: #4f4f4f;
                    i.iconfont {
                        display: block;
                        margin-top: 10px;
                        font-size: 30px;
                    }
                }
                &.active {
                    a {
                        background-color: $color-main;
                    }
                }
            }
        }
        .tab-content {
            background-color: #fff;
            .tab-pane {
                padding: 50px;
                height: 460px;
                font-size: 16px;
                h1 {
                    font-size: 45px;
                    line-height: 1.2;
                    font-weight: bold;
                }
            }
        }
    }
}
